package com.dongqi.deviceData.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dongqi.deviceData.entity.DevicePositionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity generator.domain.DevicePosition
 */
@Repository
@Mapper
public interface DevicePositionMapper extends BaseMapper<DevicePositionEntity> {


    List<DevicePositionEntity> queryByDeviceNo(@Param("deviceNo") String deviceNo);

    List<DevicePositionEntity> queryRecent12hByDeviceNo(@Param("deviceNo") String deviceNo);

    List<DevicePositionEntity> queryRecentByDeviceNo(@Param("deviceNo")String deviceNo);
}
